package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the HOSP_WORK_OUT_NOTICE database table.
 * 
 */
@Entity
@Table(name="HOSP_WORK_OUT_NOTICE")
@NamedQuery(name="HospWorkOutNotice.findAll", query="SELECT h FROM HospWorkOutNotice h")
public class HospWorkOutNotice implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private long outnoticid;

	private String doctor;

	@Column(name="DOCTOR_ADVICE")
	private String doctorAdvice;

	private String liveid;

	@Temporal(TemporalType.DATE)
	private Date noticdate;

	@Column(name="NOTICE_MAN")
	private String noticeMan;

	private String outstatus;

	private String outtype;

	private String patientname;

	private String remarks;

	@Column(name="THE_BED")
	private String theBed;

	//bi-directional many-to-one association to HospPatientRegistration
	@ManyToOne
	@JoinColumn(name="PATIENT_REGISTRATION_ID")
	private HospPatientRegistration hospPatientRegistration;

	public HospWorkOutNotice() {
	}

	public long getOutnoticid() {
		return this.outnoticid;
	}

	public void setOutnoticid(long outnoticid) {
		this.outnoticid = outnoticid;
	}

	public String getDoctor() {
		return this.doctor;
	}

	public void setDoctor(String doctor) {
		this.doctor = doctor;
	}

	public String getDoctorAdvice() {
		return this.doctorAdvice;
	}

	public void setDoctorAdvice(String doctorAdvice) {
		this.doctorAdvice = doctorAdvice;
	}

	public String getLiveid() {
		return this.liveid;
	}

	public void setLiveid(String liveid) {
		this.liveid = liveid;
	}

	public Date getNoticdate() {
		return this.noticdate;
	}

	public void setNoticdate(Date noticdate) {
		this.noticdate = noticdate;
	}

	public String getNoticeMan() {
		return this.noticeMan;
	}

	public void setNoticeMan(String noticeMan) {
		this.noticeMan = noticeMan;
	}

	public String getOutstatus() {
		return this.outstatus;
	}

	public void setOutstatus(String outstatus) {
		this.outstatus = outstatus;
	}

	public String getOuttype() {
		return this.outtype;
	}

	public void setOuttype(String outtype) {
		this.outtype = outtype;
	}

	public String getPatientname() {
		return this.patientname;
	}

	public void setPatientname(String patientname) {
		this.patientname = patientname;
	}

	public String getRemarks() {
		return this.remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getTheBed() {
		return this.theBed;
	}

	public void setTheBed(String theBed) {
		this.theBed = theBed;
	}

	public HospPatientRegistration getHospPatientRegistration() {
		return this.hospPatientRegistration;
	}

	public void setHospPatientRegistration(HospPatientRegistration hospPatientRegistration) {
		this.hospPatientRegistration = hospPatientRegistration;
	}

}